#include "target.h"

Target::Target(){
    /* Montar imagem deste bloco. */
    _img = Resources::instance()->image( Resources::TARGET );
}

ALLEGRO_BITMAP* Target::render(){
    return _img;
}

Target::~Target(){
    al_destroy_bitmap(_img);
}

std::string Target::saveString(){
    std::string s;
    s+= (char) Resources::TYPE_TILE_TARGET;
    s+= "----";
    return s;
}

Block* Target::copy(){
    return new Target();
}
